<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>
<table class="cntable table table-bordered dataTable table-outStock">
	<thead>
		<tr>
			<th style="width:50px">序号</th>
			<th style="width:120px">关联单号</th>
			<th style="width:120px">客户名称</th>
			<th style="width:120px">出库数</th>
			<th style="width:120px">类型</th>
			<th style="width:120px">发货时间</th>
			<th style="width:120px">状态</th>
			<th>备注</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach var="outStock" items="${outStocks}" varStatus="status">
			<c:set value="" var="trColor" />
			<tr data-id="${outStock.outStockId}" data-type="${outStock.type}" data-billingType="${outStock.billingType}">
				<td>${status.index+1}</td>
				<td>${outStock.billingNo}</td>
				<td>${outStock.customerName}</td>
				<td>${outStock.outStockNum}</td>
				<td><t:provider packageName="outStock" enumClassName="OutStockType" value="${outStock.type}"/> </td>	
				<td><fmt:formatDate value="${outStock.createDate}" type="date" dateStyle="default" pattern="yyyy-MM-dd"/></td>
				<td><t:provider packageName="billing" enumClassName="BillingType" value="${outStock.billingType}"/> </td>	
				<td>${outStock.comment}</td>

			</tr>
		</c:forEach>
	</tbody>
	<tfoot>
		<tr>
			<th class="pager-th">
				<%@ include file="/WEB-INF/views/shared/master/pager.jsp"%>
			</th>
		</tr>
	</tfoot>
</table>